package com.ruoyi.project.gxgw_modules.adsense.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.aspectj.lang.annotation.Excel.Type;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 广告位管理表 cxj_adsense
 * 
 * @author ruoyi
 * @date 2019-01-17
 */
public class Adsense extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 序号 */
	@Excel(name = "广告位编号", type = Type.IMPORT)
	private Integer adsId;
	/** 广告位名称 */
	@Excel(name = "广告位名称")
	private String adsName;
	/** 添加人 */
	@Excel(name = "添加人",dateFormat = "yyyy-MM-dd HH:mm:ss")
	private String createBy;
	/** 添加时间 */
	@Excel(name = "添加时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/** 修改人 */
	@Excel(name = "修改人")
	private String updateBy;
	/** 修改时间 */
	@Excel(name = "修改时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/** 备注 */
	@Excel(name = "备注")
	private String remark;
	/** 默认值为0，为1时表示广告位不可用 */
	@JsonIgnore
	private String delFlag;

	public void setAdsId(Integer adsId) 
	{
		this.adsId = adsId;
	}

	public Integer getAdsId() 
	{
		return adsId;
	}
	public void setAdsName(String adsName) 
	{
		this.adsName = adsName;
	}

	public String getAdsName() 
	{
		return adsName;
	}
	
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}
    public void setCreateBy(String createBy) {
    	this.createBy = createBy;
    }
    
    public String getCreateBy() {
    	return createBy;
    }
	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adsId", getAdsId())
            .append("adsName", getAdsName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
